package leetcode.D100.T51;

import java.util.List;

public class H51 {
    public static void main(String[] args) {
        List<List<String>> solutions = new Solution().solveNQueens(4);
        int i = 1;
        for (List<String> solution : solutions) {
            System.out.println("解法" + (i++));
            for (String s : solution) {
                System.out.println(s);
            }
            System.out.println("====================");
        }
    }
}
